$(document).ready(function(){
				scroll();
});

function scroll(){
		$("#sam").animate({left:'60%'},6000, scroll);
		$("#sam").animate({left:'0px'},6000, scroll);
		$("#sam").animate({left:'0px'},6000, scroll);
	
	}
$(document).ready(function(){
				scroll1();
});

function scroll1(){
		$("#mas").animate({right:'60%'},6000, scroll1);
		$("#mas").animate({right:'0px'},6000, scroll1);

	}
